package com.dao;

import com.domain.Employee;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("employeeDao")
public interface EmployeeDao {

    Employee findEmployeeByNumber(@Param("number") String number);

    Employee findLoginEmployee(@Param("number") String number, @Param("password") String password);

    int updateEmployee(@Param("number")String number,@Param("tel")String tel,@Param("email")String email,@Param("RTX")String RTX,@Param("infoway")Integer infoway);

}